<?php
    class Test_Hello_Model_Resource_Mysql4_Getinfo extends Mage_Core_Model_Mysql4_Abstract{
        protected  function  _construct(){   
            $this->_init('hello/getinfo', 'entity_id');
        }
    }